package org.easymis.entitys.mybatis.dto;
import java.io.Serializable;
import java.util.Date;

import org.easymis.commons.generator.annotation.GenField;
import org.easymis.commons.generator.annotation.GenModel;
import org.easymis.commons.generator.annotation.GenTable; 
 
  
  
 @GenTable(name="flow_run") 
@GenModel(packageName="org.easymis.entitys.mybatis",modelName="FlowRun")  
public class FlowRun implements Serializable {
	@GenField(labelname = "流程名称", column = "flow_run_id", id = true, length = 20, isnull = false)
	private String flowRunId;
	@GenField(labelname = "", column = "flow_type_id", length = 255, isnull = false)
	private String flowTypeId;
	@GenField(labelname = "", column = "org_id", length = 20, isnull = true)
	private String orgId;
	@GenField(labelname = "流程Code", column = "flow_code", length = 255, isnull = true)
	private String flowCode;
	@GenField(labelname = "流程实例名称", column = "flow_name", length = 255, isnull = true)
	private String flowName;
	@GenField(labelname = "创建人", column = "creator_id", length = 20, isnull = true)
	private String creatorId;
	@GenField(labelname = "紧急程度 1-普通2-重要 3-紧急", column = "work_level", isnull = true)
	private Integer workLevel;
	@GenField(labelname = "创建日期", column = "create_time", isnull = true)
	private Date createTime;
	@GenField(labelname = "流程实例结束时间", column = "end_Time", isnull = true)
	private Date endTime;
	@GenField(labelname = "附件ID串", column = "attachment_id", length = 255, isnull = true)
	private String attachmentId;
	@GenField(labelname = "附件名称串", column = "attachment_name", length = 255, isnull = true)
	private String attachmentName;
	@GenField(labelname = "申请时间", column = "begin_user_id", length = 0, isnull = true)
	private String beginUserId;
	@GenField(labelname = "", column = "begin_department_id", length = 11, isnull = true)
	private String beginDepartmentId;
	@GenField(labelname = "当前节点", column = "current_node", length = 255, isnull = true)
	private String currentNode;
	@GenField(labelname = "当前状况", column = "current_status", length = 255, isnull = true)
	private String currentStatus;
	@GenField(labelname = "未操作者", column = "next_node", length = 255, isnull = true)
	private String nextNode;
	@GenField(labelname = "关注该流程的用户", column = "focus_id", isnull = true)
	private Integer focusId;
	@GenField(labelname = "父流程ID", column = "parent_run_id", isnull = true)
	private Integer parentRunId;
	@GenField(labelname = "", column = "view_id", isnull = true)
	private Integer viewId;
	@GenField(labelname = "是否归档(0-否,1-是)", column = "archive", length = 255, isnull = true)
	private String archive;
	@GenField(labelname = "强制结束信息", column = "force_Over", length = 255, isnull = true)
	private String forceOver;
	@GenField(labelname = "", column = "deleted", length = 255, isnull = true)
	private String deleted;
	@GenField(labelname = "删除时间", column = "delete_Time", isnull = true)
	private Date deleteTime;
	@GenField(labelname = "处理时间", column = "process_time", isnull = true)
	private Date processTime;
	@GenField(labelname = "流程序号", column = "process_id", length = 20, isnull = true)
	private String processId;
	@GenField(labelname = "流程模板序号", column = "process_definition_id", length = 20, isnull = true)
	private String processDefinitionId;

	//
	private String flowTypeName;
	private String creatorName;

	public String getFlowTypeName() {
		return flowTypeName;
	}

	public void setFlowTypeName(String flowTypeName) {
		this.flowTypeName = flowTypeName;
	}

	public String getCreatorName() {
		return creatorName;
	}

	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}

	public String getFlowRunId() {
		return flowRunId;
	}

	public void setFlowRunId(String flowRunId) {
		this.flowRunId = flowRunId;
	}

	public String getFlowTypeId() {
		return flowTypeId;
	}

	public void setFlowTypeId(String flowTypeId) {
		this.flowTypeId = flowTypeId;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getFlowCode() {
		return flowCode;
	}

	public void setFlowCode(String flowCode) {
		this.flowCode = flowCode;
	}

	public String getFlowName() {
		return flowName;
	}

	public void setFlowName(String flowName) {
		this.flowName = flowName;
	}

	public String getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(String creatorId) {
		this.creatorId = creatorId;
	}

	public Integer getWorkLevel() {
		return workLevel;
	}

	public void setWorkLevel(Integer workLevel) {
		this.workLevel = workLevel;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getAttachmentId() {
		return attachmentId;
	}

	public void setAttachmentId(String attachmentId) {
		this.attachmentId = attachmentId;
	}

	public String getAttachmentName() {
		return attachmentName;
	}

	public void setAttachmentName(String attachmentName) {
		this.attachmentName = attachmentName;
	}

	public String getBeginUserId() {
		return beginUserId;
	}

	public void setBeginUserId(String beginUserId) {
		this.beginUserId = beginUserId;
	}

	public String getBeginDepartmentId() {
		return beginDepartmentId;
	}

	public void setBeginDepartmentId(String beginDepartmentId) {
		this.beginDepartmentId = beginDepartmentId;
	}

	public String getCurrentNode() {
		return currentNode;
	}

	public void setCurrentNode(String currentNode) {
		this.currentNode = currentNode;
	}

	public String getCurrentStatus() {
		return currentStatus;
	}

	public void setCurrentStatus(String currentStatus) {
		this.currentStatus = currentStatus;
	}

	public String getNextNode() {
		return nextNode;
	}

	public void setNextNode(String nextNode) {
		this.nextNode = nextNode;
	}

	public Integer getFocusId() {
		return focusId;
	}

	public void setFocusId(Integer focusId) {
		this.focusId = focusId;
	}

	public Integer getParentRunId() {
		return parentRunId;
	}

	public void setParentRunId(Integer parentRunId) {
		this.parentRunId = parentRunId;
	}

	public Integer getViewId() {
		return viewId;
	}

	public void setViewId(Integer viewId) {
		this.viewId = viewId;
	}

	public String getArchive() {
		return archive;
	}

	public void setArchive(String archive) {
		this.archive = archive;
	}

	public String getForceOver() {
		return forceOver;
	}

	public void setForceOver(String forceOver) {
		this.forceOver = forceOver;
	}

	public String getDeleted() {
		return deleted;
	}

	public void setDeleted(String deleted) {
		this.deleted = deleted;
	}

	public Date getDeleteTime() {
		return deleteTime;
	}

	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}

	public Date getProcessTime() {
		return processTime;
	}

	public void setProcessTime(Date processTime) {
		this.processTime = processTime;
	}

	public String getProcessId() {
		return processId;
	}

	public void setProcessId(String processId) {
		this.processId = processId;
	}

	public String getProcessDefinitionId() {
		return processDefinitionId;
	}

	public void setProcessDefinitionId(String processDefinitionId) {
		this.processDefinitionId = processDefinitionId;
	}
}